package cn.yhbk.web.modules.manager.Pojo.Entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 奖学金信息表
 * </p>
 *
 * @author 有何不可
 * @since 2023-08-05
 */
@Getter
@Setter
@TableName("tb_scholarship")
@ApiModel(value = "TbScholarship对象", description = "奖学金信息表")
public class TbScholarship implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("奖学金ID")
    @TableId("id")
    private Long id;

    @ApiModelProperty("创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @ApiModelProperty("状态（1：正常，2：删除）")
    @TableField("status")
    private Byte status;

    @ApiModelProperty("奖学金名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("奖学金类型")
    @TableField("type_id")
    private String typeId;

    @ApiModelProperty("开始时间")
    @TableField("start_time")
    private LocalDateTime startTime;

    @ApiModelProperty("结束时间")
    @TableField("end_time")
    private LocalDateTime endTime;

    @ApiModelProperty("学工办ID")
    @TableField("admin_id")
    private Long adminId;

    @ApiModelProperty("排序")
    @TableField("sort")
    private Integer sort;

}
